import request from '@/utils/request'

//获取学生列表
export function getStudentList(params) {
  return request({
    url: '/student/list',
    method: 'get',
    params:params
  })
}
//增加学生列表
export function addStudent(data) {
  return request({
    url: '/student/add',
    method: 'post',
    data:data
  })
}
  //编辑学生列表
export function editStudent(data) {
  return request({
    url: '/student/edit',
    method: 'post',
    data:data
  })
}
export function deleteStudent(data) {
  return request({
    url: '/student/delete',
    method: 'post',
    data:data
  })
}
